package com.my.chapter7;

public class practice7 {
    public static void main(String[] args) {
        C1 c = new C1(3);
    }
}

class A1{
    A1(int i){
        System.out.println("A constructor"+i);
    }
}

class B1{
    B1(int i){
        System.out.println("B constructor"+i);
    }
}

class C1 extends A1{
    private B1 b = new B1(6);

    C1(int i) {
        super(i);
    }
}



